package java_demos.java_basic.instance_demos.about_string;

public class StringReverseEmp {
    public static void main(String[] args) {
        /**
         * @description:
         * @author: 字符串反转操作
         * @date: 2024/5/29 下午2:46
         * @param: [args]
         * @return: void
         **/
        String str = "runoob";
        String strReverse = new StringBuffer(str).reverse().toString();
        System.out.println(strReverse);

    }
}
